$OpenBSD: patch-build_openldap_m4,v 1.1 2011/01/07 10:24:30 pea Exp $
--- build/openldap.m4.orig	Mon Dec  7 14:39:00 2009
+++ build/openldap.m4	Mon Dec  7 14:39:15 2009
@@ -251,7 +251,7 @@ AC_DEFUN([OL_ICU],
 AC_CHECK_HEADERS( unicode/utypes.h )
 if test $ac_cv_header_unicode_utypes_h = yes ; then
 	dnl OL_ICULIBS="-licui18n -licuuc -licudata"
-	OL_ICULIBS="-licuuc -licudata"
+	OL_ICULIBS="-licuuc -licudata -pthread"
 
 	AC_CACHE_CHECK([for ICU libraries], [ol_cv_lib_icu], [
 		ol_LIBS="$LIBS"
